package com.yq.homework.day22;

import java.util.Arrays;

/**
 * @author 3307235355@qq.com
 * @since 2022/06/22 21:34
 */
public class Demo07 {
    public static void main(String[] args) {
        String[][] s1 = new String[2][];
        s1[0]=new String[]{"1","2"};
        s1[1]=new String[]{"1","2"};
        String[] s2 = new String[2];
        s2= new String[]{"1", "2"};
        System.out.println(Arrays.toString(s1[0]));
        // System.out.println(Arrays.toString(s2));
        System.out.println(s2[0]);
        // System.out.println(s1[0]);
        // for (int i = 0; i < s1.length; i++) {
        //     System.out.println(Arrays.toString(s1[i]));
        // }
    }
}
